home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / sketch / source / utilities / sounds.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-03  |  684 b   |  26 lines

  1. /****************************************************************************
  2.  * 
  3.  * Sounds.h
  4.  * 
  5.  * Global function prototypes for Sounds.c
  6.  * 
  7.  ****************************************************************************/
  8.  
  9. #ifndef __SOUNDS__
  10. #define __SOUNDS__
  11.  
  12. // ===============================================================
  13. // public
  14.  
  15. OSErr     InitSpeechManager            (void);
  16. void      PlaySound                    (short sndResourceID);
  17.  
  18. void      Say                            (char *voiceName, char *message);
  19. OSErr        SayHandle                    (char *voiceName, Handle message);
  20.  
  21. OSErr        SayPString                    (StringPtr string);                                                        // default voice/synth
  22.  
  23. // ===============================================================
  24.  
  25. #endif
  26.